<template>
  <div class="index">
    <router-view></router-view>
    <div class="tabbar">
      <router-link to="/index/home">首页</router-link>
      <router-link to="/index/bao">抱抱团</router-link>
      <router-link to="/index/order">订单</router-link>
      <router-link to="/index/mine">我的</router-link>
      
    </div>
  </div>
</template>

<script setup>

import { useRoute } from 'vue-router'

var $route = useRoute()

</script>

<style scoped>
.tabbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  background-color: white;
  border-top: 1px solid #ccc;
}
.tabbar a{
  text-decoration: none;
  color: black;
}
</style>
